package com.shycloud.mido.organ.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 排课表student
 * @author Whfeng
 * @since 2019-09-26
 */
@Data
@TableName("org_schedule_student")
@EqualsAndHashCode(callSuper = true)
public class ScheduleStudentEntity extends Model<ScheduleStudentEntity> {

    // id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    // 订单Id
    private String orderCode;

    // 排课Id
    private String scheduleId;

    // 学生ID
    private String studentId;

	// 考勤
	private String status;

	// 提成
	private BigDecimal royaltyPrice;

}
